﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace FILSTARTUPS_CMS.Models
{
    public class Event
    {
        [Key]
        public int eventidPK { get; set; }

        [Display(Name="Event Title")]
        public string eventtitle { get; set; }

        [Column]
        [Display(Name = "Event Details")]
        [AllowHtml]
        [DataType(DataType.Html)]
        [UIHint("Html")]
        public string eventdescription { get; set; }

        [Column]
        [Display(Name="Event Start Date")]
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        public DateTime eventdatestart { get; set; }

        [Column]
        [Display(Name="Event End Date")]
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        public DateTime eventdateend { get; set; }

        [Column]
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        public DateTime datecreated { get; set; }

        public int routingidFK { get; set; }

        public int useridFK { get; set; }
    }
}